package com.hunan.api.catv.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 推送目标关联记录 
 * </p>
 *
 * @author wangchao
 * @since 2021-06-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("app_push_aims_record")
public class AppPushAimsRecord extends Model<AppPushAimsRecord> {

    private static final long serialVersionUID=1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 推送id
     */
    private Integer pushId;

    /**
     * 推送目标
     */
    private String pushAims;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 逻辑删除 0:未删除 1:已删除
     */
    private Integer deleted;


    public static final String ID = "id";

    public static final String PUSH_ID = "push_id";

    public static final String PUSH_AIMS = "push_aims";

    public static final String CREATE_TIME = "create_time";

    public static final String DELETED = "deleted";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
